package pap.utils;

import java.awt.Color;

public class Constants {

	public static final double G = 6.67384e-11;
	public static final double BODY_DENSITY = 5;
	public static final int START_PX_WIDTH = 1000;
	public static final int START_PX_HEIGHT = 1000;
	
	public static final int BODIES_NUMBER = 800;
	
	public static final int TASK_SLEEP_TIME_MS = 0;

	public static final double MAX_MASS = 100;
	public static final double MIN_MASS = 10;
	public static final double MAX_START_SPEED = 5;
	public static final double MIN_START_SPEED = 1;
	public static final double MIN_START_X = 0;
	public static final double MAX_START_X = START_PX_WIDTH;
	public static final double MIN_START_Y = 0;
	public static final double MAX_START_Y = START_PX_HEIGHT;

	public static final Color SPACE_COLOR=Color.BLUE;
	public static final Color BODY_COLOR=new Color(240, 255, 0);
	
	public static final int FC_THREADS = Runtime.getRuntime().availableProcessors()/2+1;
	public static final int PU_THREADS = Runtime.getRuntime().availableProcessors()/2+1;
	public static final int CC_THREADS = Runtime.getRuntime().availableProcessors()+1;
	

}
